﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ResetPassword.aspx.cs" Inherits="FastTrackCabService.ResetPassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
    <link href="Style/Login.css" rel="stylesheet" type="text/css"/>
    <title>Fast Track | Reset password</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <div id="loginbackground">
        <img src="Images/change_pass.png" width="500"/>
    </div>
    <div id="backBlackDiv">
    </div>
    <div id="frontYellowDiv">
        <div style="position: relative;">
            <table id="tblLogin">
                <tr>
                    <th>
                        Reset your password
                    </th>
                </tr>
                <tr>
                    <td class="loginTitle">
                        New Password :
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtPassword" MaxLength="20" runat="server" CssClass="loginTextbox" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Text="*" Display="Dynamic"
                                                    ForeColor="Red" ControlToValidate="txtPassword">
                        </asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" ControlToValidate="txtPassword" ValidationExpression=".{5,}" runat="server" Text="*" ForeColor="Red" Display="Dynamic" ErrorMessage="Minimum 5 characters"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="loginTitle">
                        Confirm Password :
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtConfirmPassword" MaxLength="20" runat="server" CssClass="loginTextbox" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorPassword" runat="server" Text="*" Display="Dynamic"
                                                    ForeColor="Red" ControlToValidate="txtConfirmPassword">
                        </asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" Display="Dynamic" runat="server" ControlToValidate="txtConfirmPassword" ControlToCompare="txtPassword" ForeColor="Red" Text="*" ErrorMessage="Password mismatch"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="btnReset" OnClick="btnReset_OnClick" runat="server" Text="Reset" CssClass="loginButton"/><br/>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ValidationSummary ID="ValidationSummary1" DisplayMode="List" style="font-size: 0.8em;" ForeColor="Red" runat="server"/>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>